#pragma once
#include "Vector2D.h"
class GameRectangle
{
public :
	Vector2D TR;
	Vector2D BL;
public:
	GameRectangle(Vector2D &tR,Vector2D &bL);
	GameRectangle(Vector2D &,double &);
	int collisionRectExt(GameRectangle &);
	int collisionRectInt(GameRectangle &);
	double Hauteur() const{return  BL.Y - TR.Y;};
	double Largeur() const{return TR.X - BL.X;};
	Vector2D GetCentre();
	~GameRectangle(void);
};

